package com.atguigu.lease.web.admin.service;

import com.atguigu.lease.model.entity.RoomInfo;
import com.atguigu.lease.web.admin.vo.room.RoomDetailVo;
import com.atguigu.lease.web.admin.vo.room.RoomItemVo;
import com.atguigu.lease.web.admin.vo.room.RoomQueryVo;
import com.atguigu.lease.web.admin.vo.room.RoomSubmitVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Administrator
* @description 针对表【room_info(房间信息表)】的数据库操作Service
* @createDate 2025-01-16 16:38:23
*/
public interface RoomInfoService extends IService<RoomInfo> {

	void saveOrUpdateByRoom(RoomSubmitVo roomSubmitVo);

	RoomDetailVo getRoomDetailById(Long id);

	IPage<RoomItemVo> pageRoomItemByQuery(IPage<RoomItemVo> page, RoomQueryVo queryVo);

	void removeRoomById(Long id);
}

